package com.legoo.studaychineseonline.bean;

import java.util.List;

public class OrderListBean {

    /**
     * message : success
     * code : 0
     * data : {"order_list":[{"course":{"name_en":"zhuangzi","parent":{"name_en":"class B","id":"5c947dd6edf3294b240cb3dd","name_zh":"分类二"},"type":"xiaoban","teacher":{"email":"mlzx@acord.cn","icon":"","phone":"","type":"teacher","username":"teacher81","id":"5c98a21fedf3291f04011950","nickname":""},"price":0,"title_image":"pic/course/20190328/aa2aed3e-5127-11e9-9289-309c23d6f138.png","category":{"name_en":"class BA","id":"5c99de46edf329a37c750fc5","name_zh":"二级分类三"},"id":"5ca167cbedf3294e3970cac1","name_zh":"庄子","difficulty":{"name_en":"school 3","id":"5c9b49a1edf32948a545fc62","name_zh":"相当于小学三年级"}},"paper_id":"190402174515667545","state":"done","id":"5ca32f2bedf3292e208812a6","type":"sijiao"}]}
     * tag :
     */

    private String message;
    private int code;
    private DataBean data;
    private String tag;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public static class DataBean {
        private List<OrderInfoListBean> order_list;

        public List<OrderInfoListBean> getOrder_list() {
            return order_list;
        }

        public void setOrder_list(List<OrderInfoListBean> order_list) {
            this.order_list = order_list;
        }

        public static class OrderInfoListBean {
            /**
             * course : {"name_en":"zhuangzi","parent":{"name_en":"class B","id":"5c947dd6edf3294b240cb3dd","name_zh":"分类二"},"type":"xiaoban","teacher":{"email":"mlzx@acord.cn","icon":"","phone":"","type":"teacher","username":"teacher81","id":"5c98a21fedf3291f04011950","nickname":""},"price":0,"title_image":"pic/course/20190328/aa2aed3e-5127-11e9-9289-309c23d6f138.png","category":{"name_en":"class BA","id":"5c99de46edf329a37c750fc5","name_zh":"二级分类三"},"id":"5ca167cbedf3294e3970cac1","name_zh":"庄子","difficulty":{"name_en":"school 3","id":"5c9b49a1edf32948a545fc62","name_zh":"相当于小学三年级"}}
             * paper_id : 190402174515667545
             * state : done
             * id : 5ca32f2bedf3292e208812a6
             * type : sijiao
             */

            private CourseBean course;
            private String paper_id;
            private String state;
            private String id;
            private String type;

            public CourseBean getCourse() {
                return course;
            }

            public void setCourse(CourseBean course) {
                this.course = course;
            }

            public String getPaper_id() {
                return paper_id;
            }

            public void setPaper_id(String paper_id) {
                this.paper_id = paper_id;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public static class CourseBean {
                /**
                 * name_en : zhuangzi
                 * parent : {"name_en":"class B","id":"5c947dd6edf3294b240cb3dd","name_zh":"分类二"}
                 * type : xiaoban
                 * teacher : {"email":"mlzx@acord.cn","icon":"","phone":"","type":"teacher","username":"teacher81","id":"5c98a21fedf3291f04011950","nickname":""}
                 * price : 0
                 * title_image : pic/course/20190328/aa2aed3e-5127-11e9-9289-309c23d6f138.png
                 * category : {"name_en":"class BA","id":"5c99de46edf329a37c750fc5","name_zh":"二级分类三"}
                 * id : 5ca167cbedf3294e3970cac1
                 * name_zh : 庄子
                 * difficulty : {"name_en":"school 3","id":"5c9b49a1edf32948a545fc62","name_zh":"相当于小学三年级"}
                 */

                private String name_en;
                private ParentBean parent;
                private String type;
                private TeacherBean teacher;
                private int price;
                private String title_image;
                private CategoryBean category;
                private String id;
                private String name_zh;
                private DifficultyBean difficulty;

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }

                public ParentBean getParent() {
                    return parent;
                }

                public void setParent(ParentBean parent) {
                    this.parent = parent;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public TeacherBean getTeacher() {
                    return teacher;
                }

                public void setTeacher(TeacherBean teacher) {
                    this.teacher = teacher;
                }

                public int getPrice() {
                    return price;
                }

                public void setPrice(int price) {
                    this.price = price;
                }

                public String getTitle_image() {
                    return title_image;
                }

                public void setTitle_image(String title_image) {
                    this.title_image = title_image;
                }

                public CategoryBean getCategory() {
                    return category;
                }

                public void setCategory(CategoryBean category) {
                    this.category = category;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public DifficultyBean getDifficulty() {
                    return difficulty;
                }

                public void setDifficulty(DifficultyBean difficulty) {
                    this.difficulty = difficulty;
                }

                public static class ParentBean {
                    /**
                     * name_en : class B
                     * id : 5c947dd6edf3294b240cb3dd
                     * name_zh : 分类二
                     */

                    private String name_en;
                    private String id;
                    private String name_zh;

                    public String getName_en() {
                        return name_en;
                    }

                    public void setName_en(String name_en) {
                        this.name_en = name_en;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName_zh() {
                        return name_zh;
                    }

                    public void setName_zh(String name_zh) {
                        this.name_zh = name_zh;
                    }
                }

                public static class TeacherBean {
                    /**
                     * email : mlzx@acord.cn
                     * icon :
                     * phone :
                     * type : teacher
                     * username : teacher81
                     * id : 5c98a21fedf3291f04011950
                     * nickname :
                     */

                    private String email;
                    private String icon;
                    private String phone;
                    private String type;
                    private String username;
                    private String id;
                    private String nickname;

                    public String getEmail() {
                        return email;
                    }

                    public void setEmail(String email) {
                        this.email = email;
                    }

                    public String getIcon() {
                        return icon;
                    }

                    public void setIcon(String icon) {
                        this.icon = icon;
                    }

                    public String getPhone() {
                        return phone;
                    }

                    public void setPhone(String phone) {
                        this.phone = phone;
                    }

                    public String getType() {
                        return type;
                    }

                    public void setType(String type) {
                        this.type = type;
                    }

                    public String getUsername() {
                        return username;
                    }

                    public void setUsername(String username) {
                        this.username = username;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getNickname() {
                        return nickname;
                    }

                    public void setNickname(String nickname) {
                        this.nickname = nickname;
                    }
                }

                public static class CategoryBean {
                    /**
                     * name_en : class BA
                     * id : 5c99de46edf329a37c750fc5
                     * name_zh : 二级分类三
                     */

                    private String name_en;
                    private String id;
                    private String name_zh;

                    public String getName_en() {
                        return name_en;
                    }

                    public void setName_en(String name_en) {
                        this.name_en = name_en;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName_zh() {
                        return name_zh;
                    }

                    public void setName_zh(String name_zh) {
                        this.name_zh = name_zh;
                    }
                }

                public static class DifficultyBean {
                    /**
                     * name_en : school 3
                     * id : 5c9b49a1edf32948a545fc62
                     * name_zh : 相当于小学三年级
                     */

                    private String name_en;
                    private String id;
                    private String name_zh;

                    public String getName_en() {
                        return name_en;
                    }

                    public void setName_en(String name_en) {
                        this.name_en = name_en;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName_zh() {
                        return name_zh;
                    }

                    public void setName_zh(String name_zh) {
                        this.name_zh = name_zh;
                    }
                }
            }
        }
    }
}
